/**
 * Copyright (C) 2010  Hylke van der Schaaf
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package hextd.core;

import com.usoog.tdcore.gamestate.GameState;
import com.usoog.tdcore.player.AbstractPlayer;
import hextd.creep.HexTDCreep;
import hextd.creep.HexTDCreepData;
import hextd.tower.HexTDTower;
import java.util.Map;

public class PlayerImp extends AbstractPlayer<HexTDCreepData, HexTDCreep, HexTDTower> {

	private int interest = 3;
	private int interestInc = 3;

	public PlayerImp(int id, GameState gameState, int lives, Map<String, Long> wallet) {
		super(id, gameState);
		setLives(lives);
		getResources().reset();
		getResources().doReceive(wallet);
	}

	@Override
	public void cleanup() {
	}

	@Override
	public void minionDied(HexTDCreep c) {
	}

	@Override
	public void buyTower(int tick, int x, int y, String towerType) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public void buyCreep(int tick, String creepKey, int count, int size, long health, int path) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
	public void forfeit(int tick) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	/**
	 * @return the interest
	 */
	public int getInterest() {
		return interest;
	}

	/**
	 * @param interest the interest to set
	 */
	public void setInterest(int interest) {
		this.interest = interest;
	}

	/**
	 * @return the interestIncrease
	 */
	public int getInterestInc() {
		return interestInc;
	}

	/**
	 * @param interestInc the interestIncrease to set
	 */
	public void setInterestInc(int interestInc) {
		this.interestInc = interestInc;
	}
}
